package com.rxst.msg.dto.update;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


/**
 * 白名单表
 *
 * @author rxst
 * @email rxst@gmail.com
 * @date 2021-08-26 16:33:48
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("msgx_ip")
public class MsgxIpUpdateDto implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableId
    @ApiModelProperty(value = "主键", notes = "主键")
    private Long id;
    /**
     * 网络id
     */
    @ApiModelProperty(value = "网络id", notes = "网络id")
    private String ipId;
    /**
     * 网络名称
     */
    @ApiModelProperty(value = "网络名称", notes = "网络名称")
    private String ipName;
    /**
     * 网络地址
     */
    @ApiModelProperty(value = "网络地址", notes = "网络地址")
    private String ipAddress;
    /**
     * 状态 0 启用 1 禁用
     */
    @ApiModelProperty(value = "状态 0 启用 1 禁用 ", notes = "状态 0 启用 1 禁用 ")
    private Integer status;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", example = "2021-08-26 16:33:48", notes = "创建时间", dataType = "String")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间", example = "2021-08-26 16:33:48", notes = "修改时间", dataType = "String")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    /**
     * 是否删除 0 未删除  1 删除
     */
    @ApiModelProperty(value = "是否删除 0 未删除  1 删除", notes = "是否删除 0 未删除  1 删除")
    private Integer isDelete;
}
